<!DOCTYPE html>
<html>
<head>
    <title>misfire_inform_deal</title>
    <#include "/sys/header.html"/>
</head>
<body>
<div class="panel panel-default" id="rrapp" v-cloak>
    <div class="panel-heading">{{title}}</div>
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-2 control-label">名称</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="misfireInform.name" placeholder="名称"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">通知方式</div>
            <div class="col-sm-10">
                <select class="form-control" v-model="misfireInform.informMode"
                        placeholder="通知方式  邮件email 短信sms 钉钉ding 微信 wechat">
                    <template v-for="option in noticeModes">
                        <option :value="option.dictCode"
                                v-if="option.dictCode == misfireInform.informMode" selected>
                            {{ option.dictName }}
                        </option>
                        <option :value="option.dictCode" v-else>
                            {{ option.dictName }}
                        </option>
                    </template>
                </select>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">联系方式</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="misfireInform.contactName" placeholder="联系方式"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">状态</div>
            <div class="col-sm-10">
                <div class="col-sm-10">
                    <label class="radio-inline">
                        <input type="radio" name="status" value="0" v-model="misfireInform.status"/> 停用
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="status" value="1" v-model="misfireInform.status"/> 正常
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">描述</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="misfireInform.remark" placeholder="描述"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">创建时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="misfireInform.createTime" placeholder="创建时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">更新时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="misfireInform.updateTime" placeholder="更新时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
            &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="back" value="返回"/>
        </div>
    </form>
</div>

<script src="${base}/js/monitor/misfireInform_add.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>
